Matthias Clasen [Fri, 13 Aug 2004 04:42:10 +0000 (04:42 +0000)]
Add missing include.
Matthias Clasen [Fri, 13 Aug 2004 04:00:29 +0000 (04:00 +0000)]
Fix #149547, Markus Lausser:
Thu Aug 12 23:52:12 2004 Matthias Clasen <maclas@gmx.de>
Fix #149547, Markus Lausser:
* gtk/gtkcombobox.c (gtk_combo_box_size_allocate):
* gtk/gtkcombobox.c (gtk_combo_box_size_request): Don't
crash if size_request or size_allocate are called early.
* gtk/gtkcombobox.c (gtk_combo_box_size_allocate): Protect
against being allocated too small.
Matthias Clasen [Fri, 13 Aug 2004 03:18:35 +0000 (03:18 +0000)]
Remove an accidentally added include.
Thu Aug 12 23:18:03 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtkhandlebox.c: Remove an accidentally added include.
Matthias Clasen [Fri, 13 Aug 2004 02:26:57 +0000 (02:26 +0000)]
Properly determine the number of colors in an OS/2 BMP file. (#150003,
Thu Aug 12 22:19:12 2004 Matthias Clasen <maclas@gmx.de>
* io-bmp.c (DecodeHeader): Properly determine the number of
colors in an OS/2 BMP file. (#150003, Jon-Kare Hellan)
Matthias Clasen [Fri, 13 Aug 2004 01:10:38 +0000 (01:10 +0000)]
Adjust to GtkAboutDialog API changes.
Thu Aug 12 21:02:57 2004 Matthias Clasen <maclas@gmx.de>
* demos/gtk-demo/appwindow.c (about_cb): Adjust to GtkAboutDialog API changes.
* gtk/gtkaboutdialog.h:
* gtk/gtkaboutdialog.c (gtk_about_dialog_set_email_hook):
(gtk_about_dialog_set_url_hook): Add callback data and destroy notify
for language bindings. (#149999, Olivier Andrieu)
Matthias Clasen [Thu, 12 Aug 2004 21:09:03 +0000 (21:09 +0000)]
Underscore-prefix gtk_file_system_module_get_type(). Underscore-prefix
2004-08-12 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkfilesystem.c: Underscore-prefix gtk_file_system_module_get_type().
* gtk/gtkfilechooserdefault.c: Underscore-prefix shortcuts_model_filter_get_type().
* gtk/gtkimmodule.c: Make gtk_im_module_get_type() static.
* gtk/gtk.symbols:
* gtk/gtkinternals.h: Remove the no longer exported get_type functions.
Matthias Clasen [Thu, 12 Aug 2004 14:17:30 +0000 (14:17 +0000)]
Remove C99-isms. (#149967, Vincent Noel)
2004-08-12 Matthias Clasen <mclasen@redhat.com>
* pixops/pixops.c: Remove C99-isms. (#149967, Vincent Noel)
Matthias Clasen [Thu, 12 Aug 2004 05:37:10 +0000 (05:37 +0000)]
Make the icon view accessible by implementing the necesssary ATK
Thu Aug 12 01:35:46 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtkiconview.c: Make the icon view accessible by
implementing the necesssary ATK interfaces. (#149728,
Padraig O'Briain)
Matthias Clasen [Thu, 12 Aug 2004 04:03:54 +0000 (04:03 +0000)]
Link to information about allowed action names. (#149620, David Malcolm)
Thu Aug 12 00:02:29 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtkaction.c (gtk_action_new): Link to information about
allowed action names. (#149620, David Malcolm)
Matthias Clasen [Thu, 12 Aug 2004 03:25:49 +0000 (03:25 +0000)]
Add setters for the ::sensitive and ::visible properties of GtkAction.
Wed Aug 11 23:14:25 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtk.symbols:
* gtk/gtkaction.h:
* gtk/gtkaction.c (gtk_action_set_sensitive):
(gtk_action_set_visible): Add setters for the ::sensitive
and ::visible properties of GtkAction. (#149622, David Malcolm)
Federico Mena Quintero [Thu, 12 Aug 2004 03:07:01 +0000 (03:07 +0000)]
Fix #149422, #143457:
2004-08-11 Federico Mena Quintero <federico@ximian.com>
Fix #149422, #143457:
* gtk/gtkfilechooserdefault.c
(gtk_file_chooser_default_should_respond): Rewrite to take the
current focus into account, the contents of the save entry, and
the last focus for the shortcuts list.
(switch_to_selected_folder): We don't need an assertion on the
action here.
Matthias Clasen [Thu, 12 Aug 2004 02:57:20 +0000 (02:57 +0000)]
Check all symbols.
Wed Aug 11 22:56:55 2004 Matthias Clasen <maclas@gmx.de>
* abicheck.sh: Check all symbols.
Matthias Clasen [Thu, 12 Aug 2004 00:56:32 +0000 (00:56 +0000)]
Add shortcuts_model_filter_get_type.
Wed Aug 11 20:56:00 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtkinternals.h:
* gtk/gtk.symbols: Add shortcuts_model_filter_get_type.
* gtk/abicheck.sh: Check all symbols.
Matthias Clasen [Thu, 12 Aug 2004 00:46:43 +0000 (00:46 +0000)]
Add the XDG_PREFIX to this function as well.
Wed Aug 11 20:44:35 2004 Matthias Clasen <maclas@gmx.de>
* xdgmime.h (xdg_mime_shutdown): Add the XDG_PREFIX to
this function as well.
Matthias Clasen [Wed, 11 Aug 2004 23:21:05 +0000 (23:21 +0000)]
Don't start a drag if the treeview is only a drag destination. (#149836,
Wed Aug 11 19:20:34 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtktreeview.c (gtk_tree_view_maybe_begin_dragging_row):
Don't start a drag if the treeview is only a
drag destination. (#149836, Pawel Salek)
Matthias Clasen [Wed, 11 Aug 2004 15:08:24 +0000 (15:08 +0000)]
Underscore-prefix gtk_tree_data_list_compare_func.
2004-08-11 Matthias Clasen <mclasen@redhat.com>
* gtk/gtktreedatalist.[hc]:
* gtk/gtkliststore.c:
* gtk/gtktreestore.c: Underscore-prefix gtk_tree_data_list_compare_func.
* gtk/gtk.symbols: Remove gtk_tree_data_list_compare_func.
* gtk/makegtkalias.pl: No need to include gtktreedatalist.h any more.
Matthias Clasen [Wed, 11 Aug 2004 14:47:41 +0000 (14:47 +0000)]
Make scaling and compositing functions handle edge pixels consistently.
2004-08-11 Matthias Clasen <mclasen@redhat.com>
* pixops/pixops.c: Make scaling and compositing functions handle
edge pixels consistently. (#111922, Brian Cameron)
Matthias Clasen [Wed, 11 Aug 2004 14:23:31 +0000 (14:23 +0000)]
underscore prefix the mmx implementations, in order to not export them.
2004-08-11 Matthias Clasen <mclasen@redhat.com>
* pixops/pixops-internal.h:
* pixops/pixops.c:
* pixops/*.S: underscore prefix the mmx implementations, in order
to not export them.
* gdk-pixbuf.symbols: Remove the mmx pixops implementations.
* abicheck.sh: No need to define INCLUDE_MMX_SYMBOLS any more.
Matthias Clasen [Wed, 11 Aug 2004 13:59:38 +0000 (13:59 +0000)]
Add gdk-pixbuf-alias.h
2004-08-11 Matthias Clasen <mclasen@redhat.com>
* gdk-pixbuf/Makefile.am (IGNORE_HFILES): Add gdk-pixbuf-alias.h
Matthias Clasen [Wed, 11 Aug 2004 04:10:18 +0000 (04:10 +0000)]
Add hidden aliases for exported symbols which are used internally in order
Tue Aug 10 23:53:59 2004 Matthias Clasen <maclas@gmx.de>
Add hidden aliases for exported symbols which are
used internally in order to get rid of many PLT
entries. (#145519, Arjan van de Ven)
* gdk/Makefile.am: Add rules to generate gdk_pixbuf.def and
gdk-pixbuf-alias.h from gdk-pixbuf.symbols, and make make
check check the abi with abicheck.sh.
* gdk/gdk-pixbuf.symbols: New file. Definition of the gdk-pixbuf
ABI. The file can be processed by cpp to filter out certain
subsets of symbols.
* gdk/abicheck.sh: New file. Script to check the actually
symbols exported from libgdk_pibuf.2.0.so against the symbols
found in gdk-pixbuf.symbols.
* gdk/makegdkpixbufalias.pl: New file. Perl script to generate the
header containing the alias definitions for internally used
exported symbols from a list of symbols.
* *.c: Include gdk-pixbuf-alias.h
Matthias Clasen [Tue, 10 Aug 2004 22:58:59 +0000 (22:58 +0000)]
*** empty log message ***
Matthias Clasen [Tue, 10 Aug 2004 21:18:33 +0000 (21:18 +0000)]
Define TESTS, not TEST, so that make check actually triggers abicheck.sh.
2004-08-10 Matthias Clasen <mclasen@redhat.com>
* gdk/Makefile.am:
* gtk/Makefile.am: Define TESTS, not TEST, so that make check
actually triggers abicheck.sh.
Matthias Clasen [Tue, 10 Aug 2004 20:10:56 +0000 (20:10 +0000)]
Include glib.h before using glib symbols. D'oh.
2004-08-10 Matthias Clasen <mclasen@redhat.com>
* gdk/makegdkalias.pl:
* gtk/makegtkalias.pl: Include glib.h before using glib symbols. D'oh.
Matthias Clasen [Tue, 10 Aug 2004 18:57:41 +0000 (18:57 +0000)]
Protect gtkalias.h by G_HAVE_GNUC_VISIBILITY.
2004-08-10 Matthias Clasen <mclasen@redhat.com>
* gdk/makegdkalias.pl:
* gtk/makegtkalias.pl: Protect gtkalias.h by G_HAVE_GNUC_VISIBILITY.
Matthias Clasen [Tue, 10 Aug 2004 17:50:31 +0000 (17:50 +0000)]
Include gtkalias.h in the generated sources gtkmarhalers.c and
2004-08-10 Matthias Clasen <mclasen@redhat.com>
* gtk/Makefile.am: Include gtkalias.h in the generated
sources gtkmarhalers.c and gtkmarshal.c.
* gtk/makegtkalias.pl: Cosmetic fix.
* gdk/Makefile.am: Remove the . which was accidentally added
to SUBDIRS. Include gdkalias.h in the generated sources
gdkenumtypes.c and gdkmarshalers.c.
* gdk/makegdkalias.pl: Cosmetic fix.
* gdk/Makefile.am: Add gdkalias.h to BUILT_SOURCES.
Matthias Clasen [Tue, 10 Aug 2004 05:15:33 +0000 (05:15 +0000)]
Add gdkalias.h to BUILT_SOURCES.
2004-08-10 Matthias Clasen <mclasen@redhat.com>
* gdk/Makefile.am: Add gdkalias.h to BUILT_SOURCES.
Hans Breuer [Mon, 9 Aug 2004 21:32:58 +0000 (21:32 +0000)]
autogenerate gtk.def, cleanup
2004-08-09 Hans Breuer <hans@breuer.org>
* gtk/makefile.msc.in : autogenerate gtk.def, cleanup
* gdk/win32/gdkwindow-win32.c gdk/win32/gdkevents-win32.c :
removed long time unused ifdef/ed code (WITHOUT_WM_CREATE),
removed duplicated call to gdk_window_set_cursor()
David Lodge [Mon, 9 Aug 2004 20:47:24 +0000 (20:47 +0000)]
Updated Old English translation
2004-08-09 David Lodge <dave@cirt.net>
* ang.po: Updated Old English translation
Matthias Clasen [Mon, 9 Aug 2004 20:14:43 +0000 (20:14 +0000)]
Add hidden aliases for exported symbols which are used internally in order
Mon Aug 9 15:41:17 2004 Matthias Clasen <maclas@gmx.de>
Add hidden aliases for exported symbols which are
used internally in order to get rid of many PLT
entries. (#145519, Arjan van de Ven)
* gdk/Makefile.am: Add rules to generate gdk.def and
gdkalias.h from gdk.symbols, and make make check check
the abi with abicheck.sh.
* gdk/gdk.symbols: New file. Definition of the GDK ABI.
The file can be processed by cpp to filter out certain
subsets of symbols.
* gdk/abicheck.sh: New file. Script to check the actually
symbols exported from libgdk-x11.2.0.so against the symbols
found in gdk.symbols.
* gdk/makegdkalias.pl: New file. Perl script to generate the
header containing the alias definitions for internally used
exported symbols from a list of symbols.
* gdk/*.c, gdk/x11/*.c: Include gdkalias.h
Morten Welinder [Mon, 9 Aug 2004 19:58:05 +0000 (19:58 +0000)]
Fix C99ism.
2004-08-09 Morten Welinder <terra@gnome.org>
* gdk/x11/gdkdnd-x11.c (gdk_drag_drop_succeeded): Fix C99ism.
Matthias Clasen [Mon, 9 Aug 2004 19:38:33 +0000 (19:38 +0000)]
Also revert GTK_TEXT_USE_INTERNAL_UNSUPPORTED_API to its old status.
Mon Aug 9 15:27:01 2004 Matthias Clasen <maclas@gmx.de>
* gtk/makegtkalias.pl: Also revert
GTK_TEXT_USE_INTERNAL_UNSUPPORTED_API to its old status.
Matthias Clasen [Mon, 9 Aug 2004 19:21:42 +0000 (19:21 +0000)]
Add the exported functions gdk_rgb_colormap_ditherable(),
Mon Aug 9 15:19:34 2004 Matthias Clasen <maclas@gmx.de>
* gdk/gdk.h:
* gdk/gdkrgb.h: Add the exported functions
gdk_rgb_colormap_ditherable(), gdk_pointer_grab_info_libgtk_only(),
gdk_keyboard_grab_info_libgtk_only() to the appropriate
headers.
Matthias Clasen [Mon, 9 Aug 2004 18:45:48 +0000 (18:45 +0000)]
Add a forgotten file.
Matthias Clasen [Mon, 9 Aug 2004 18:29:21 +0000 (18:29 +0000)]
Make static.
Mon Aug 9 14:24:46 2004 Matthias Clasen <maclas@gmx.de>
* gdk/x11/gdkevents-x11.c (gdk_event_send_client_message_to_all_recurse):
Make static.
Matthias Clasen [Mon, 9 Aug 2004 16:59:53 +0000 (16:59 +0000)]
Add hidden aliases for exported symbols which are used internally in order
Mon Aug 9 12:48:04 2004 Matthias Clasen <maclas@gmx.de>
Add hidden aliases for exported symbols which are
used internally in order to get rid of many PLT
entries. (#145519, Arjan van de Ven)
* gtk/Makefile.am: Add rules to generate gtk.def and
from gtk.symbols, and make make check check the abi
with abicheck.sh.
(gtk_private_h_sources): Add gtkinternals.h
(gtk_built_private_headers): Add gtkalias.h
(gtk_extra_sources): Add gtk.symbols
(EXTRA_DIST): Add makegtkalias.pl and abicheck.sh
* gtk/gtk.symbols: New file. Definition of the GTK+ ABI.
The file can be processed by cpp to filter out certain
subsets of symbols.
* gtk/abicheck.sh: New file. Script to check the actually
symbols exported from libgtk-x11.2.0.so against the symbols
found in gtk.symbols.
* gtk/makegtkalias.pl: New file. Perl script to generate the
header containing the alias definitions for internally used
exported symbols from a list of symbols.
* gtk/gtkinternals.h: New file. An uninstalled header listing
symbols which must be exported for some reason and do not appear
in any other header.
* gtk/*.c: Include gtkalias.h
Matthias Clasen [Mon, 9 Aug 2004 15:50:29 +0000 (15:50 +0000)]
Only undef gtk_init_check and gtk_init on win32.
Mon Aug 9 11:49:46 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtkmain.c: Only undef gtk_init_check and gtk_init on win32.
Matthias Clasen [Mon, 9 Aug 2004 15:09:10 +0000 (15:09 +0000)]
Add gtk_entry_layout_index_to_text_index() and its inverse. The have
Mon Aug 9 10:50:05 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtkentry.h: Add gtk_entry_layout_index_to_text_index()
and its inverse. The have always been exported and are meant
to be public.
Matthias Clasen [Mon, 9 Aug 2004 04:30:26 +0000 (04:30 +0000)]
Don't leak the file contents.
Mon Aug 9 00:28:34 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtkicontheme.c (load_svg_at_size): Don't leak the
file contents.
Matthias Clasen [Mon, 9 Aug 2004 04:13:36 +0000 (04:13 +0000)]
Don't leak the icon source.
Mon Aug 9 00:13:03 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtkaboutdialog.c (icon_set_new_from_pixbufs): Don't
leak the icon source.
Matthias Clasen [Mon, 9 Aug 2004 03:55:00 +0000 (03:55 +0000)]
Don't leak a reference to the pixbufs.
Sun Aug 8 23:46:20 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtkfilechooserdefault.c (shortcuts_reload_icons): Don't
leak a reference to the pixbufs.
Matthias Clasen [Mon, 9 Aug 2004 03:39:06 +0000 (03:39 +0000)]
Ref and sink the column. (gtk_combo_box_menu_destroy): Unref the column.
Sun Aug 8 23:36:55 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtkcombobox.c (gtk_combo_box_menu_setup): Ref
and sink the column.
(gtk_combo_box_menu_destroy): Unref the column.
Sun Aug 8 23:35:00 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtkdnd.c (gtk_drag_source_add_text_targets):
(gtk_drag_dest_add_text_targets): Don't leak a reference
to the target list.
Matthias Clasen [Mon, 9 Aug 2004 02:53:31 +0000 (02:53 +0000)]
Don't stumble over separators which are not backed by model rows.
Sun Aug 8 22:52:26 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtkcombobox.c (find_menu_by_path): Don't stumble over
separators which are not backed by model rows.
Matthias Clasen [Mon, 9 Aug 2004 02:46:46 +0000 (02:46 +0000)]
Oops.
Matthias Clasen [Mon, 9 Aug 2004 02:45:18 +0000 (02:45 +0000)]
Don't leak the path.
Sun Aug 8 11:01:23 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtkcombobox.c (gtk_combo_box_set_active): Don't leak
the path.
Hans Breuer [Sun, 8 Aug 2004 22:31:12 +0000 (22:31 +0000)]
take targets into account again to allow dnd of other things than text
2004-08-07 Hans Breuer <hans@breuer.org>
* gtk/gtkdnd.c (gtk_drag_dest_set) : take targets into
account again to allow dnd of other things than text
* gdk/win32/gdkselection-win32.c : offer windows bitmap to
be pasted from clipboard (makes The GIMP 2.1's
"File/Acquire/Paste as New" work, only using gtk+ API)
Matthias Clasen [Sun, 8 Aug 2004 05:33:13 +0000 (05:33 +0000)]
Add gtk_cell_renderer_progress_get_type.
Sun Aug 8 01:32:36 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtk.def: Add gtk_cell_renderer_progress_get_type.
Matthias Clasen [Sun, 8 Aug 2004 05:29:46 +0000 (05:29 +0000)]
Replace duplicate gtk_tree_view_get_hover_expand by
Sun Aug 8 01:29:08 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtk.def: Replace duplicate gtk_tree_view_get_hover_expand
by gtk_tree_view_set_hover_expand.
Matthias Clasen [Sun, 8 Aug 2004 05:28:33 +0000 (05:28 +0000)]
Remove duplicate gtk_tree_view_get_hover_expand.
Sun Aug 8 01:28:06 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtk.def: Remove duplicate gtk_tree_view_get_hover_expand.
Matthias Clasen [Sun, 8 Aug 2004 05:27:01 +0000 (05:27 +0000)]
Remove the static function gtk_menu_get_private.
Sun Aug 8 01:23:08 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtk.def: Remove the static function gtk_menu_get_private.
Tor Lillqvist [Sat, 7 Aug 2004 23:35:41 +0000 (23:35 +0000)]
Don't hardcode mapping of VK_DECIMAL to GDK_KP_Decimal. Instead, let
2004-08-07 Tor Lillqvist <tml@iki.fi>
* gdk/win32/gdkkeys-win32.c (update_keymap): Don't hardcode
mapping of VK_DECIMAL to GDK_KP_Decimal. Instead, let ToAsciiEx()
map it to what's printed on the keypad decimal key for the current
input locale (keyboard layout). (#149404)
Matthias Clasen [Sat, 7 Aug 2004 22:21:25 +0000 (22:21 +0000)]
Use GtkTreeViewRowSeparatorFunc instead of GtkCellRendererSepText.
Sat Aug 7 18:19:03 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtkfilechooserdefault.c (save_folder_combo_create):
(shortcuts_list_create): Use GtkTreeViewRowSeparatorFunc
instead of GtkCellRendererSepText. (#147864)
* gtk/gtkcellrendererseptext.[hc]: Removed.
* gtk/Makefile.am: Remove gtkcellrendererseptext.[hc]
Sat Aug 7 18:15:15 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtkcombobox.c (gtk_combo_box_menu_row_deleted):
(gtk_combo_box_menu_row_inserted):
(gtk_combo_box_menu_row_changed): Correctly handle
insertion and deletion of separators in menu mode.
Tor Lillqvist [Sat, 7 Aug 2004 21:46:28 +0000 (21:46 +0000)]
WM_WINDOWPOSCHANGED): Add _gdk_offset_{x,y} to top-level window
2004-08-07 Tor Lillqvist <tml@iki.fi>
* gdk/win32/gdkevents-win32.c (handle_configure_event,
gdk_event_translate:WM_WINDOWPOSCHANGED): Add _gdk_offset_{x,y} to
top-level window coordinates, not just in generated
events. (#148526, Robert Ögren)
Matthias Clasen [Sat, 7 Aug 2004 13:16:55 +0000 (13:16 +0000)]
Fix a typo
Matthias Clasen [Sat, 7 Aug 2004 05:28:43 +0000 (05:28 +0000)]
Make the column drag code a bit more robust (still scary, though).
Sat Aug 7 01:26:08 2004 Matthias Clasen <maclas@gmx.de>
Make the column drag code a bit more robust (still scary,
though). (#106992, Christian Biere)
* gtk/gtktreeview.c (_gtk_tree_view_column_start_drag): Assert
that cur_reorder is NULL here.
* gtk/gtktreeview.c (gtk_tree_view_button_release_drag_column):
Reset cur_reorder to NULL, and only hide drag_highlight_window
if it exists.
Federico Mena Quintero [Fri, 6 Aug 2004 19:25:25 +0000 (19:25 +0000)]
Fix #144232:
2004-08-06 Federico Mena Quintero <federico@ximian.com>
Fix #144232:
* gtk/gtkfilechooserdefault.c (save_widgets_create): Use a
GtkFileChooserEntry for the file name, rather than a GtkEntry.
(update_chooser_entry): Set the contents of the file chooser entry
rather than the plain entry's.
(gtk_file_chooser_default_set_current_folder): Set the new folder
on the save entry.
(gtk_file_chooser_default_set_current_name): Set the name on the
file chooser entry.
(check_save_entry): Use the file chooser entry rather than the
plain entry.
* gtk/gtkfilechooserentry.c
(_gtk_file_chooser_entry_set_base_folder): Call
gtk_file_chooser_entry_changed() so that we recompute the current
folder based on the new base folder.
Hans Breuer [Fri, 6 Aug 2004 19:20:42 +0000 (19:20 +0000)]
make it compile and more similar to the X11 implementation [backward
2004-08-06 Hans Breuer <hans@breuer.org>
* gdk/win32/gdkwindow-win32.c : make it compile and more
similar to the X11 implementation [backward compatibility
for GDK_WINDOW_TEMP, GDK_INPUT_ONLY (fixes bug #148702),
use the *screen* function variants, dont reparent already
destroyed]
(get_visible_region) : take the win32 part into account
(_gdk_windowing_window_destroy) : remove from handle table
* gdk/win32/gdkdisplay-win32.c : added
gdk_display_(request|supports)_selection_notification ()
with a currently mostly pointless implementation ;-)
* gtk/gtkfilesystemwin32.c (*_to_path) : same changes as on *NIX,
plugs memory leak
(gtk_file_system_win32_render_icon) : use new GTK_STOCK_DIRECTORY
* gtk/makefile.msc.in demos/gtk-demo/makefile.msc.in
gtk/stock-icons/makefile.msc tests/makefile.msc : updated
* gdk/gdk.def gtk/gtk.def : updated externals
* tests/testiconview.c : remove unneeded dirent.h inclusion
Hans Breuer [Fri, 6 Aug 2004 18:49:35 +0000 (18:49 +0000)]
updated
2004-08-06 Hans Breuer <hans@breuer.org>
* gdk_pixbuf.def makefile.msc : updated
Matthias Clasen [Fri, 6 Aug 2004 17:38:51 +0000 (17:38 +0000)]
Fix an off-by-one error. (#141809, Markku Vire)
* gtk/gtktreeview.c (gtk_tree_view_move_cursor_page_up_down): Fix
an off-by-one error. (#141809, Markku Vire)
Matthias Clasen [Fri, 6 Aug 2004 17:03:52 +0000 (17:03 +0000)]
Really fix the initialization of the target list.
2004-08-06 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkdnd.c (gtk_drag_dest_set, gtk_drag_source_set): Really
fix the initialization of the target list.
Support XDND v5. (#10220, Owen Taylor)
* gdk/x11/gdkdnd-x11.c: Record the XDND version and whether the
drop was successful in the GdkDragContextPrivateX11 struct.
(xdnd_finished_filter): Store the success status of the drop
for an XDND version 5 interaction. For other versions, always
assume the drop was successful.
(xdnd_check_dest): Return the protocol version.
(_gdk_drag_get_protocol_for_display): Return the protocol version.
(gdk_drag_find_window_for_screen): Store the used protocol version
in the GdkDragContext.
(xdnd_send_enter): Send the used protocol version from the context,
instead of hardwiring 3.
(xdnd_enter_filter): Accept protocol versions >= 3 and store the
used protocol version in the context.
* gdk/gdkdnd.h:
* gdk/x11/gdkdnd-x11.c (gdk_drag_drop_succeeded): New function
to find out whether a drop was successful.
Robert Ögren [Fri, 6 Aug 2004 01:56:22 +0000 (01:56 +0000)]
Set x_root and y_root in button and motion events from the tablet.
2004-07-28 Robert Ögren <gtk@roboros.com>
* gdk/win32/gdkinput-win32.c (_gdk_input_other_event): Set x_root
and y_root in button and motion events from the tablet. (#148715)
Ivan Stojmirov [Thu, 5 Aug 2004 20:54:51 +0000 (20:54 +0000)]
poznat prevod
Pablo Saratxaga [Thu, 5 Aug 2004 20:40:38 +0000 (20:40 +0000)]
updated Breton and Walloon files
Soeren Sandmann [Thu, 5 Aug 2004 17:58:20 +0000 (17:58 +0000)]
Call gdk_window_enable_synchronized_configure()
Thu Aug 5 19:58:08 2004 Soeren Sandmann <sandmann@daimi.au.dk>
* gtk/gtkplug.c (gtk_plug_realize): Call
gdk_window_enable_synchronized_configure()
* gdk/x11/gdkwindow-x11.c (gdk_window_configure_finished): Make
noop if gdk_window_enable_synchronized_configure() has not been
called.
Matthias Clasen [Wed, 4 Aug 2004 20:53:19 +0000 (20:53 +0000)]
Fix up previous commit.
Matthias Clasen [Wed, 4 Aug 2004 20:45:23 +0000 (20:45 +0000)]
Add setter and getter for the ::show-hidden property. (#145610, Jeff
2004-08-04 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkfilechooser.[hc]: Add setter and getter for the
::show-hidden property. (#145610, Jeff Franks)
Matthias Clasen [Wed, 4 Aug 2004 20:32:26 +0000 (20:32 +0000)]
Add buttons to select and unselect all nodes, make the popup menu actually
2004-08-04 Matthias Clasen <mclasen@redhat.com>
* tests/testiconview.c: Add buttons to select and unselect all
nodes, make the popup menu actually work.
* gtk/gtkiconview.c: Make GTK_SELECTION_BROWSE work as intended,
let button 3 presses through to the app, to make popup menus
work.
Matthias Clasen [Wed, 4 Aug 2004 14:32:45 +0000 (14:32 +0000)]
Add testiconview. A test for GtkIconView ...which uses this image.
2004-08-04 Matthias Clasen <mclasen@redhat.com>
* tests/Makefile.am: Add testiconview.
* tests/testiconview.c: A test for GtkIconView
* tests/gnome-textfile.png: ...which uses this image.
Matthias Clasen [Wed, 4 Aug 2004 05:38:58 +0000 (05:38 +0000)]
s/childs/children/g.
Wed Aug 4 01:37:57 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtktreeview.c:
* gtk/gtktreestore.c:
* gtk/gtktreemodelfilter.c:
* gtk/gtknotebook.c: s/childs/children/g.
Matthias Clasen [Wed, 4 Aug 2004 05:06:59 +0000 (05:06 +0000)]
Fix #133446, noticed by Christian Persch:
Wed Aug 4 01:04:48 2004 Matthias Clasen <maclas@gmx.de>
Fix #133446, noticed by Christian Persch:
* gtk/gtkaction.c (gtk_action_class_init): Add a new boolean
property ::visible-overflown.
* gtk/gtkaction.c (gtk_action_create_menu_proxy): Don't create
a menu proxy if visible_overflown is FALSE.
Matthias Clasen [Wed, 4 Aug 2004 00:19:25 +0000 (00:19 +0000)]
Make the the GtkAction{Toggle,Radio,}Entry* arguments to the
Tue Aug 3 20:16:26 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtkactiongroup.[hc]: Make the the GtkAction{Toggle,Radio,}Entry*
arguments to the gtk_action_group_add_..._actions() functions const,
since the most common use case is to use a static array. (142334,
Mariano Suarez-Alvarez)
Matthias Clasen [Wed, 4 Aug 2004 00:06:30 +0000 (00:06 +0000)]
Make gtk_ui_manager_add_ui() accept paths with a leading "/ui". (#149077,
Tue Aug 3 20:03:33 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtkuimanager.c (get_node): Make gtk_ui_manager_add_ui()
accept paths with a leading "/ui". (#149077, David Malcolm)
Matthias Clasen [Tue, 3 Aug 2004 22:41:31 +0000 (22:41 +0000)]
Correct the return type of gtk_tree_model_filter_get_flags(). (#149195,
Tue Aug 3 18:38:40 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtktreemodelfilter.c: Correct the return type
of gtk_tree_model_filter_get_flags(). (#149195, Morten Welinder)
Matthias Clasen [Tue, 3 Aug 2004 22:19:37 +0000 (22:19 +0000)]
Fix #149191, reported by Morten Welinder:
Tue Aug 3 18:16:55 2004 Matthias Clasen <maclas@gmx.de>
Fix #149191, reported by Morten Welinder:
* gtk/gtkmain.c: Include gtkclipboard.h,
* gtk/gtkwidget.h: Declare _gtk_widget_grab_notify, not
_gtk_widget_emit_grab_notify.
Matthias Clasen [Tue, 3 Aug 2004 18:51:26 +0000 (18:51 +0000)]
Add missing parens. (#149190, Morten Welinder)
Tue Aug 3 14:50:14 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtkicontheme.c (add_size): Add missing parens.
(#149190, Morten Welinder)
Matthias Clasen [Tue, 3 Aug 2004 18:30:53 +0000 (18:30 +0000)]
Remove accidentally committed debug code.
Tue Aug 3 14:29:49 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtkcombobox.c (gtk_combo_box_menu_fill): Remove
accidentally committed debug code.
Matthias Clasen [Tue, 3 Aug 2004 05:22:21 +0000 (05:22 +0000)]
Optimize for the case that row_column and col_column are unset. (#148868,
Tue Aug 3 01:19:12 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtkcombobox.c (gtk_combo_box_relayout_item): Optimize
for the case that row_column and col_column are unset.
(#148868, Lorenzo Gil Sánchez)
Soeren Sandmann [Mon, 2 Aug 2004 20:01:27 +0000 (20:01 +0000)]
New function. Make sure the sync counter is recreated when a window is
Mon Aug 2 21:52:45 2004 Soeren Sandmann <sandmann@daimi.au.dk>
* gdk/x11/gdkwindow-x11.c (ensure_sync_counter): New
function. Make sure the sync counter is recreated when a window is
reparented to become a toplevel. (#148358)
Matthias Clasen [Mon, 2 Aug 2004 19:17:19 +0000 (19:17 +0000)]
Some trees in combo boxes.
2004-08-02 Matthias Clasen <mclasen@redhat.com>
* tests/testcombo.c: Some trees in combo boxes.
Matthias Clasen [Mon, 2 Aug 2004 19:15:05 +0000 (19:15 +0000)]
Rework the combo box to handle tree models. (#139582, Matt Walton)
2004-08-02 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkcombobox.c: Rework the combo box to handle
tree models. (#139582, Matt Walton)
Matthias Clasen [Mon, 2 Aug 2004 19:12:17 +0000 (19:12 +0000)]
Add hover-expand setter and getter.
2004-08-02 Matthias Clasen <mclasen@redhat.com>
* gtk/gtk-sections.txt: Add hover-expand setter and getter.
Matthias Clasen [Mon, 2 Aug 2004 19:11:32 +0000 (19:11 +0000)]
Add a new boolean property ::hover-expand and make the treeview
2004-08-02 Matthias Clasen <mclasen@redhat.com>
* gtk/gtktreeview.h:
* gtk/gtktreeview.c:
* gtk/gtktreeprivate.h: Add a new boolean property
::hover-expand and make the treeview expand/collapse rows
on mouseover if it is set.
Matthias Clasen [Mon, 2 Aug 2004 19:09:15 +0000 (19:09 +0000)]
Remove some erroneous declarations.
2004-08-02 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkiconview.h: Remove some erroneous declarations.
Matthias Clasen [Mon, 2 Aug 2004 19:08:13 +0000 (19:08 +0000)]
Don't crash if the displayed row is gone.
2004-08-02 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkcellview.c (gtk_cell_view_set_cell_data): Don't
crash if the displayed row is gone.
Morten Welinder [Mon, 2 Aug 2004 16:12:10 +0000 (16:12 +0000)]
C99ism.
2004-08-02 Morten Welinder <terra@gnome.org>
* gtk/gtkentry.c (gtk_entry_motion_notify): C99ism.
Matthias Clasen [Mon, 2 Aug 2004 06:09:24 +0000 (06:09 +0000)]
Don't steal the pointer grab from the context menu of the entry. (#148686,
Mon Aug 2 02:07:43 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtkentrycompletion.c (_gtk_entry_completion_popdown):
Don't steal the pointer grab from the context menu of the
entry. (#148686, Christian Persch)
Matthias Clasen [Mon, 2 Aug 2004 05:34:08 +0000 (05:34 +0000)]
Add a new binding signal ::backspace, bind it to the backspace key, and
Mon Aug 2 01:30:03 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtktextview.[hc]:
* gtk/gtkentry.[hc]: Add a new binding signal ::backspace,
bind it to the backspace key, and make it pay attention
to the Pango backspace_deletes_character
attribute. (#119891, Noah Levitt, patch by Theppitak
Karoonboonyanan)
Matthias Clasen [Mon, 2 Aug 2004 05:04:33 +0000 (05:04 +0000)]
Add missing error traps. (#149011, Thomas Leonard)
Mon Aug 2 01:02:57 2004 Matthias Clasen <maclas@gmx.de>
* gdk/x11/gdkevents-x11.c (gdk_check_wm_state_changed):
(gdk_check_wm_desktop_changed): Add missing error
traps. (#149011, Thomas Leonard)
Matthias Clasen [Mon, 2 Aug 2004 04:22:37 +0000 (04:22 +0000)]
Add the same warning that the blink_cb() in GtkEntry already has.
Mon Aug 2 00:21:26 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtktextview.c (blink_cb): Add the same warning
that the blink_cb() in GtkEntry already has. (#148733)
Matthias Clasen [Mon, 2 Aug 2004 04:14:17 +0000 (04:14 +0000)]
Document the xalign property and its getter and setter as 2.4 additions.
Mon Aug 2 00:12:16 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtkentry.c (gtk_entry_class_init):
(gtk_entry_get_alignment):
(gtk_entry_set_alignment): Document the xalign property
and its getter and setter as 2.4 additions. (#148978,
Axel Simon)
Mon Aug 2 00:11:31 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtkuimanager.c (gtk_ui_manager_class_init):
* gtk/gtkactiongroup.c (gtk_action_group_class_init): Use
canonical signal names in doc comments, since gtk-doc won't
pick up signal docs with underscores.
Matthias Clasen [Mon, 2 Aug 2004 04:05:34 +0000 (04:05 +0000)]
Fix progressive loading of 8bit pcx files. (#148518, Magnus Bergman)
Sun Aug 1 23:57:06 2004 Matthias Clasen <maclas@gmx.de>
* io-pcx.c (pcx_increment_load_data_1): Fix progressive
loading of 8bit pcx files. (#148518, Magnus Bergman)
Funda Wang [Sun, 1 Aug 2004 18:20:31 +0000 (18:20 +0000)]
Updated Simplified Chinese translation
Matthias Clasen [Sun, 1 Aug 2004 06:24:59 +0000 (06:24 +0000)]
*** empty log message ***
Matthias Clasen [Sun, 1 Aug 2004 05:55:01 +0000 (05:55 +0000)]
2.5.1
Jonathan Blandford [Sun, 1 Aug 2004 03:32:19 +0000 (03:32 +0000)]
New arguments
Thu Jul 29 16:36:42 2004 Jonathan Blandford <jrb@redhat.com>
* gtk/gtktreeprivate.h: New arguments
* gtk/gtktreeview.c:
(gtk_tree_view_class_init): Add key_release callback
(gtk_tree_view_init): Initialize timeout handler
(gtk_tree_view_unrealize): clear timeout if needed
(gtk_tree_view_key_press): Typeahead support
(gtk_tree_view_key_release): Not used yet -- will be needed for
typeahead.
(gtk_tree_view_search_entry_flush_timeout): Remove typeahead entry
in a timeout.
(gtk_tree_view_ensure_interactive_directory):
(gtk_tree_view_real_start_interactive_search):
(gtk_tree_view_search_init):
(gtk_tree_view_start_interactive_search): Typeahead support added.
(gtk_tree_view_search_dialog_hide): Clear timeout and text when we
hide.
Matthias Clasen [Sun, 1 Aug 2004 03:18:05 +0000 (03:18 +0000)]
Updates for 2.5.1.
Matthias Clasen [Sat, 31 Jul 2004 21:21:08 +0000 (21:21 +0000)]
Add some forgotten functions.
Sat Jul 31 17:20:22 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtk-sections.txt: Add some forgotten functions.
Sat Jul 31 17:18:57 2004 Matthias Clasen <maclas@gmx.de>
* gtk/framebuffer.sgml:
* gtk/windows.sgml:
* gtk/x11.sgml:
* gtk/running.sgml: Reorganize backend-specific cmdline
arguments and environment variables, fill the Windows
sections, add XDG_DATA_HOME, XDG_DATA_DIRS.
Matthias Clasen [Sat, 31 Jul 2004 05:15:32 +0000 (05:15 +0000)]
Use the canonical form of signal names after "notify::". Otherwise, no
Sat Jul 31 01:13:01 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtkwindow.c:
* gtk/gtkentry.c:
* gtk/gtkaction.c: Use the canonical form of signal names
after "notify::". Otherwise, no notification arrives.
GObject should have a warning for that, really. (#148879,
Lorenzo Gil Sánchez)
Matthias Clasen [Sat, 31 Jul 2004 04:45:09 +0000 (04:45 +0000)]
Don't set both states at once. (#148789, Matthew Garret)
Sat Jul 31 00:42:08 2004 Matthias Clasen <maclas@gmx.de>
* gdk/x11/gdkwindow-x11.c (gdk_window_set_keep_below):
* gdk/x11/gdkwindow-x11.c (gdk_window_set_keep_above): Don't
set both states at once. (#148789, Matthew Garret)
Matthias Clasen [Fri, 30 Jul 2004 22:55:28 +0000 (22:55 +0000)]
*** empty log message ***
Matthias Clasen [Fri, 30 Jul 2004 20:55:17 +0000 (20:55 +0000)]
Change the api for separators to use a separator function instead of a
2004-07-30 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkcombobox.h:
* gtk/gtkcombobox.c: Change the api for separators to use a
separator function instead of a boolean column.
* tests/testcombo.c: Update to match the api change.